package com.explment.lens.controller.log;

import com.explment.lens.entity.SysLoginLogEntity;
import com.explment.lens.service.SysLoginLogService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 登录记录 controller
 */
@RestController
@RequestMapping("/sysLoginLogEntity")
public class SysLoginLogController {
    @Autowired
    private SysLoginLogService sysLoginLogEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysLoginLogEntityService.getById(id));
    }
}